uListing\Lib\PayPal\Classes\PayPal B

Total Complexity 94
Dependencies 16
Dependents 5
Total lines 636
Lines of code 411
Logical lines of code 184
Comment lines 148
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
paypal_modal_info()
A
49 9 31
get_payment_script()
S
49 5 40
payment_subscription()
S
48 5 35
subscription_agreement_success()
S
49 5 31
createPlan()
S
52 5 24
synchronizationPlan()
S
57 5 16
paypal_synchronization_ajax()
S
59 5 13
update_plan_or_created()
S
61 5 11
init()
S
58 4 14
subscription_canceld()
S
60 4 12
getPlan()
S
55 3 20
getCurrencies()
S
48 2 31
checkCurrency()
S
76 4 3
get_api_context()
S
59 3 15
getPayPalPlanId()
S
70 3 5
save_settings()
S
66 3 8
getMode()
S
67 2 7
delete_plan()
S
70 2 6
__construct()
S
59 1 13
getPlanList()
S
80 1 3
add_payment_method()
S
74 1 4
getApiContext()
S
76 1 4
install()
S
91 1 2
uninstall()
S
91 1 2
add_payment_method_list()
S
74 1 4
get_payment_form()
S
77 1 3
getFrequency()
S
67 1 8
subscription_agreement_canceled()
S
71 1 7
render_settings()
S
77 1 3
deletePlan()
S
80 1 3
setPayPalPlanId()
S
78 1 3
getData()
S
76 1 4
get_active_mode()
S
75 1 4
getAgreement()
S
80 1 3
cancelAgreement()
S
80 1 3
executeAgreement()
S
80 1 3
createAgreementForPlan()
S
72 1 6
updatePlan()
S
70 1 7